package com.netflexitysolutions.amazonws.sample.domain;

import java.util.HashSet;
import java.util.Set;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private String id;
	private Account nfxAccount;
	private String username;
	private String password;
	private Long changeDate;
	private String changeBy;
	private String status;
	private Set nfxRoles = new HashSet(0);

	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(Account nfxAccount, String username, String password, String status) {
		this.nfxAccount = nfxAccount;
		this.username = username;
		this.password = password;
		this.status = status;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Account getNfxAccount() {
		return this.nfxAccount;
	}

	public void setNfxAccount(Account nfxAccount) {
		this.nfxAccount = nfxAccount;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Long getChangeDate() {
		return this.changeDate;
	}

	public void setChangeDate(Long changeDate) {
		this.changeDate = changeDate;
	}

	public String getChangeBy() {
		return this.changeBy;
	}

	public void setChangeBy(String changeBy) {
		this.changeBy = changeBy;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	/**
	 * @return the nfxRoles
	 */
	public Set getNfxRoles() {
		return nfxRoles;
	}

	/**
	 * @param nfxRoles the nfxRoles to set
	 */
	public void setNfxRoles(Set nfxRoles) {
		this.nfxRoles = nfxRoles;
	}

}